/*
 * @Author: YuHao
 * @Date: 2022-04-14 10:33:15
 * @LastEditTime: 2022-04-14 13:31:36
 * @LastEditors: YuHao
 * @Description: 
 * @FilePath: \vben-admin\src\router\routes\modules\dashboard.ts
 * Copyright (c) 2022 by 弗斯特机电设备有限公司, All Rights Reserved. 
 */
import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';

const dashboard: AppRouteModule = {
  path: '/dashboard',
  name: 'Dashboard',
  component: LAYOUT,
  redirect: '/dashboard/analysis',
  meta: {
    orderNo: 10,
    icon: 'ion:grid-outline',
    title: 'Dashboard',
  },
  children: [
    {
      path: 'analysis',
      name: 'Analysis',
      component: () => import('/@/views/dashboard/analysis/index.vue'),
      meta: {
        // affix: true,
        title: '分析页',
      },
    },
    {
      path: 'workbench',
      name: 'Workbench',
      component: () => import('/@/views/dashboard/workbench/index.vue'),
      meta: {
        title: '工作台',
      },
    },
  ],
};

export default dashboard;
